package cn.zptc.springbootdemo.domain;

import org.springframework.data.redis.core.index.Indexed;

/**
 * @author ：zhaoweiwei
 * @date ：创建于 2025/4/7 13:55
 * @description：
 * @modified By：
 * @version: 1.0.0
 */
public class FamilyMember {

    @Indexed
    private String type;

    @Indexed
    private String username;

    public FamilyMember() {
    }

    public FamilyMember(String type, String username) {
        this.type = type;
        this.username = username;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "FamilyMember{" +
                "type='" + type + '\'' +
                ", username='" + username + '\'' +
                '}';
    }
}
